<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   
 "http://www.w3.org/TR/html4/loose.dtd"> 
<head>
	<meta charset="utf-8">
	<title>个人信息</title>
	<#include "/commen/commenftl.ftl" >
	<#include "/commen/commenJs.ftl">
	<#include "/commen/commenCss.ftl">
    <script src="${base}/statics/js/user/userPersonal.js" type="text/javascript"></script>
</head>

<body>
<div id="main" class="easyui-layout" data-options="fit:true">
<div id="userInfo_div_1" data-options="region:'center'" title="个人信息" style="width:300px;">
    <div id="userInfo_div_2"  data-options="fit:true" style="height:770px;">
    <div id="searchDiv" style="padding:50px">
    <form id = "userInfoEdit_form" name="userInfoEdit_form">
	        <table id="userInfo_table_1" cellpadding="20">
	        	<tr>
	        	<td><a href='../statics/images/photo/${(user.userPicture)!''}.png'  height="180" width="180" target="_blank">
	        	<img src='../statics/images/photo/${(user.userPicture)!""}.png' height="80" width="80"/></a></td>
	        	<td>
	        	点击查看高清大图！
	        	</td>
	        	<td>
	        	</td>
	        	<td>
	        	更换头像：
	        	</td>
	        	<td>
	        	<select class="easyui-combobox" name="form_userPicture" id = "userPicture" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">空</option>
                            <option value="111">可爱</option>
                            <option value="222">花</option>
                            <option value="333">水</option>
                            <option value="444">猪头</option>
                            <option value="555">呵呵</option>
                            <option value="666">斌斌</option>
                            <option value="777">呵</option>
                        </select>
	        	</td>
	        	</tr>
	            <tr>
	                <td>用户ID:</td>
	                <td>
	            		<input id="userId" name="form_userId" readOnly="true" value='${(user.userId)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>不能修改！</td>
	                <td>用户名:</td>
	                <td>
	            		<input id="userName" readOnly="true"  value='${(user.userName)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>不能修改！</td>
	            </tr>
	            <tr>
	            	<td>姓名:</td>
	                <td>
	            		<input id="userRealname" name="form_userRealname" value='${(user.userRealname)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	                <td valign="bottom">性别:</td>
	                <td>
	            		<select class="easyui-combobox" name="form_userSex" id = "userSex" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="男" 
                            <#if "男"==user.userSex>
                            	selected="selected"
                            </#if>
                            >男</option>
                            <option value="女"
                            <#if "女"==user.userSex>
                            	selected="selected"
                            </#if>
                            >女</option>
                        </select>
	                </td>
	                <td>可修改！</td>
	             </tr>
	             <tr>
	            	<td>年龄:</td>
	                <td>
	            		<input id="userAge" name="form_userAge" value='${(user.userAge)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	                <td>生日:</td>
	                <td>
	            		<input class="easyui-datebox"  name="form_userBirthday" id="userBirthday" data-options="formatter:myformatter,parser:myparser"></input>
	                	<input class="easyui-validatebox" value='${(user.userBirthday)!""}' name="birthday"  type="hidden"/>
	                </td>
	                <td>可修改！</td>
	             </tr>
	             <tr>
	            	<td>电话:</td>
	                <td>
	            		<input id="userPhone" name="form_userPhone" value='${(user.userPhone?c)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	                <td>住址:</td>
	                <td>
	            		<input id="userHouse" name="form_userHouse" value='${(user.userHouse)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	             </tr>
	             <tr>
	            	<td>工作:</td>
	                <td>
	            		<input id="userWork" name="form_userWork" value='${(user.userWork)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	                <td>邮箱:</td>
	                <td>
	            		<input id="userEmail" name="form_userEmail" value='${(user.userEmail)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>可修改！</td>
	             </tr>
	             <tr>
	            	<td>经验:</td>
	                <td>
	            		<input id="userExp"  readOnly="true" value='${(user.userExp)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>不可修改！</td>
	                <td>等级:</td>
	                <td>
	            		<input id="userLevel" readOnly="true" value='${(user.userLevel)!""}' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>不可修改！</td>
	             </tr>
	             <tr>
	            	<td>原始密码:</td>
	                <td>
	            		<input id="userPassword" name="form_userPassword" value='' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>修改密码则填写！密码正确才保存！</td>
	                <td>新密码:</td>
	                <td>
	            		<input id="userNewPassword" name="form_userNewPassword" value='' data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>修改密码则填写！需满足密码要求！</td>
	             </tr>
	             <tr>
	             <td></td>
	             <td></td>
	             <td></td>
	             <td>
	             <a href="javascript:void(0)" id="saveuserInfoForm" class="easyui-linkbutton" onclick="submitUserPersonal()">保 存</a>
	             </td>
	             </tr>
	        </table>
	        </form>
</div>
</div>
</div>
</div>
</body>
</html>
